Skip to content

Conversation

peverwhee
Copy link
Collaborator

@peverwhee peverwhee commented Jun 4, 2025

Tag name (required for release branches):
Originator(s): peverwhee

Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number):

Updates ccpp-framework tag to the latest. Also brings in updated atmospheric_physics hash.

Describe any changes made to build system: N/A

Describe any changes made to the namelist: N/A

List any changes to the defaults for the input datasets (e.g. boundary datasets): N/A

List all files eliminated and why: N/A

List all files added and what they do: N/A

List all existing files that have been modified, and describe the changes:
(Helpful git command: git diff --name-status development...<your_branch_name>)
M .gitmodules

  • update framework tag to 2025-06-03-dev
  • update to latest atmospheric_physics hash

M test/unit/python/sample_files/write_init_files/physics_inputs_ddt*

  • changes to account for:
  1. better DDT handling in the framework
  2. case-insensitivity results in lowercase variable names

M ccpp_framework
M src/physics/ncar_ccpp

  • new submodules

If there are new failures (compared to the test/existing-test-failures.txt file),
have them OK'd by the gatekeeper, note them here, and add them to the file.
If there are baseline differences, include the test and the reason for the
diff. What is the nature of the change? Roundoff?

derecho/intel/aux_sima: all PASS

derecho/gnu/aux_sima: all PASS

If this changes climate describe any run(s) done to evaluate the new
climate in enough detail that it(they) could be reproduced:

@peverwhee peverwhee self-assigned this Jun 4, 2025
@peverwhee peverwhee changed the title update framework submodule and tag DRAFT: update framework submodule and tag Jun 4, 2025
@peverwhee peverwhee changed the title DRAFT: update framework submodule and tag Update framework submodule and tag Jun 13, 2025
@peverwhee peverwhee marked this pull request as ready for review June 13, 2025 19:30
Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @peverwhee!

.gitmodules Outdated
Comment on lines 22 to 23
url = https://github.com/ESCOMP/atmospheric_physics
fxtag = bb7c61028c1d6ead2c09b2c58cfbbfb3c3638a51
fxtag = e05850ede0571c5c950ed86e4d73e1bab46a348a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious why we are not using tags for the atmospheric_physics?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't currently have a rule to use tags in CAM-SIMA I think because it makes things easier while we're in this fast development process.

We will have to revisit this at some point in the future. Maybe once we've finished cam4?

select case (trim(phys_var_stdnames(name_idx)))
case ('potential_temperature')
call read_field(file, 'potential_temperature', input_var_names(:,name_idx), 'lev', timestep, phys_state%theta)
call read_field(file, 'potential_temperature', input_var_names(:,name_idx), 'lev', timestep, phys_state%thermo%theta)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another question - it appears that we are adding a thermo ddt? Is that correct and if so what are its elements?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a test file that is the expected code generation for this test registry - https://github.com/ESCOMP/CAM-SIMA/blob/development/test/unit/python/sample_files/write_init_files/ddt2_reg.xml

The test registry has a nested DDT and the updates that dustin brought into the framework fix a bug that enables these to be passed in correctly. The old phys_state%theta was actually incorrect.

Hope that makes sense!

@peverwhee peverwhee merged commit 1020c38 into ESCOMP:development Jun 24, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants